import Vue from 'vue'

import {
  Form,
  FormItem,
  Input,
  Select,
  Option,
  Button,
  DatePicker,
  Dialog,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Table,
  TableColumn,
  Tag,
  Message,
  Loading,
  Switch,
  InputNumber,
  Tabs,
  TabPane,
  Pagination,
  Notification,
  Cascader,
  MessageBox,
  Drawer,
  Popconfirm,
  Row,
  Col,
  Upload,
  Checkbox,
  DateTimePicker,
  Image,
  RadioGroup,
  Radio,
  RadioButton,
  Container,
  Header,
  Main,
  TimePicker,
  Icon,
  CheckboxGroup,
  Timeline,
  TimelineItem,
  Popover,
  Tooltip,
  Aside,
  Footer
} from 'element-ui';

Vue.use(Form)
Vue.use(Drawer)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Select)
Vue.use(Option)
Vue.use(Button)
Vue.use(DatePicker)
Vue.use(Dialog)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tag)
Vue.use(Switch)
Vue.use(InputNumber)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Pagination)
Vue.use(Loading.directive)
Vue.use(Cascader)
Vue.use(Popconfirm)
Vue.use(Row)
Vue.use(Col)
Vue.use(Upload)
Vue.use(Checkbox)
Vue.use(Image)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Container)
Vue.use(Header)
Vue.use(Main)
Vue.use(TimePicker);
Vue.use(Icon);
Vue.use(CheckboxGroup);
Vue.use(Timeline);
Vue.use(TimelineItem)
Vue.use(Popover)
Vue.use(Tooltip)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Footer)
Vue.use(RadioButton)

Vue.prototype.$message = Message
Vue.prototype.$loading = Loading.service
Vue.prototype.$notify = Notification
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$alert = MessageBox.alert;
